% reset workspace
clearvars; clc;

% load example data
load example_data_1;
% load example_data_2;

% plot the mesh only
meshplot(nodes, elements);

% plot the mesh with a nodal scalar field
meshplot(nodes, elements, scalars);

% plot the mesh with a nodal scalar field and specify the scalar range
meshplot(nodes, elements, scalars, [100 400]);

% specify optional arguments
meshplot(nodes, elements, scalars, 'ShowLines', false, 'Colormap', jet(32), 'Title', 'Stress (MPa)');
